
package com.dun.add.service;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.5.5
 * 2012-10-02T18:07:57.425+05:30
 * Generated source version: 2.5.5
 * 
 */
public final class Addition_AdditionPort_Client {

    private static final QName SERVICE_NAME = new QName("http://service.add.dun.com/", "AdditionService");

    private Addition_AdditionPort_Client() {
    }

    public static void main(String args[]) throws java.lang.Exception {
        URL wsdlURL = AdditionService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        AdditionService ss = new AdditionService(wsdlURL, SERVICE_NAME);
        Addition port = ss.getAdditionPort();  
        
        {
        System.out.println("Invoking addingTwoNumbers...");
        com.dun.add.service.InputTO _addingTwoNumbers_arg0 = new com.dun.add.service.InputTO();
        _addingTwoNumbers_arg0.setNumberOne(-1770297897);
        _addingTwoNumbers_arg0.setNumberTwo(1450373453);
        int _addingTwoNumbers__return = port.addingTwoNumbers(_addingTwoNumbers_arg0);
        System.out.println("addingTwoNumbers.result=" + _addingTwoNumbers__return);


        }

        System.exit(0);
    }

}
